<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>后台主界面</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resources/css/common/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resources/css/back/index.css">

</head>
<body>
	<div class="jumbotron topnav">
 		 <div class="container">
    		<h2>Travel后台管理系统</h2>
  		</div>
  			<a class="glyphicon glyphicon-home home" href="<%=request.getContextPath() %>/backindex">&nbsp;首页</a>
  			<span class="glyphicon glyphicon-user login_infor">&nbsp;${admin.name} | <a href="<%=request.getContextPath() %>/adminout">退出</a></span> 
	</div>
	<!-- 导航结束 -->
<div id="centercontent">
	<div class="col-md-2 col-sm-3 mynav">
    	<div  id="left_panel">
	<div class="panel-group" id="accordion">
		<div class="panel panel-default">

			<c:forEach items="${AdminMenuDtoList }" var="AdminMenuDto">
			<div class="panel-heading p_title">
				<h4 class="panel-title">
					<a href="#${AdminMenuDto.parentMenu.id}" data-toggle="collapse" data-parent="#accordion"> <span class="glyphicon glyphicon-cog">&nbsp;${AdminMenuDto.parentMenu.menuName }</span></a>
				</h4>
			</div>
			<div id="${AdminMenuDto.parentMenu.id }" class="panel-collapse collapse">
			<c:forEach items="${AdminMenuDto.childMenuList }" var="childMenu">
			<div class="panel-body">
				<a class="glyphicon glyphicon-th-list btn" onclick="showRight('${childMenu.url}')">&nbsp;${childMenu.menuName }</a>
			</div>
			</c:forEach>
			</div>				
			</c:forEach>
		</div>	
</div>
</div>
</div>
<div class="col-md-10 col-sm-9 mycontent">
    <div class="panel panel-default main">
    	<div class="progress" style="display: none;">
			  	<div class="progress-bar progress-bar-info progress-bar-striped" style="width: 30%">
			   	 <span class="sr-only"></span>
		  		</div>
		  		&nbsp;  正在加载中....
		</div>
	  	<div id="content">
 			<h2><span class="glyphicon glyphicon-home"></span>&nbsp;欢迎来到Travel管理系统</h2>
	   		
 		</div>
  </div> 
</div>  
</div> 

<script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/common/jquery-1.10.2.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/common/bootstrap.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/resources/js/back/index.js"></script>

</body>
</html>